#if(CMAKE_Fortran_COMPILER)
#  set(F77SRCS addmult.f transpose.f)
#  ADD_LIBRARY(flibs ${F77SRCS})
#endif()

ADD_EXECUTABLE(fft2d_smp_2 fft2d_smp_2.cpp)
TARGET_LINK_LIBRARIES(fft2d_smp_2 ohmmsbase flibs)

ADD_EXECUTABLE(multi_smp multi_smp.cpp)
TARGET_LINK_LIBRARIES(multi_smp ohmmsbase flibs)

ADD_EXECUTABLE(multi_smp2 multi_smp2.cpp)
TARGET_LINK_LIBRARIES(multi_smp2 ohmmsbase flibs)

if(HAVE_ESSL)
  ADD_EXECUTABLE(pdcft pdcft.cpp)
  TARGET_LINK_LIBRARIES(pdcft ohmmsbase)
endif(HAVE_ESSL)
